A Mechanized Proof Reconstruction for SCNP Termination

نویسندگان

  • Alexander Krauss
  • Armin Heller
چکیده

Ben-Amram and Codish described SCNP [2], a subclass of the size-change termination criterion SCT [8], which permits efficient certificate checking. Termination problems in this class have a global ranking function of a certain form, which can be found using SAT solving. This note describes an automated proof reconstruction for this certificate scheme, implemented in the theorem prover Isabelle/HOL [9]. In previous work [6], we have shown how to use the full size-change principle for termination proofs of recursive function definitions in Isabelle. Although the certificatebased approach is less powerful in theory, it has practical advantages: • The transitive closure computation in [8] is an efficiency bottleneck, and optimizing it is hard since the code must be proved correct and executed within the logical system. • Certificates can be stored, which makes proof checking easier when the proof script is re-run. • Much less logical infrastructure is necessary. In particular, no formalization of Ramsey’s theorem is required, which makes the approach portable to theorem provers with a constructive foundation, such as Coq [3]. Our method is included in the recent release of Isabelle 2009 (http://isabelle.in.tum.de).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Signature Extensions Preserve Termination - An Alternative Proof via Dependency Pairs

We give the first mechanized proof of the fact that for showing termination of a term rewrite system, we may restrict to well-formed terms using just the function symbols actually occurring in the rules of the system. Or equivalently, termination of a term rewrite system is preserved under signature extensions. We did not directly formalize the existing proofs for this well-known result, but de...

متن کامل

Inductive Fixpoints in Higher Order Logic

We show that an analogue of the domain-theoretic least fixpoint operator can be defined in a purely set-theoretic framework. It can be formalized in classical higher order logic, serving as a solid foundation for proving termination of (possibly nested) recursive programs in a variety of mechanized proof systems.

متن کامل

Termination of Isabelle Functions via Termination of Rewriting

We show how to automate termination proofs for recursive functions in (a first-order subset of) Isabelle/HOL by encoding them as term rewrite systems and invoking an external termination prover. Our link to the external prover includes full proof reconstruction, where all necessary properties are derived inside Isabelle/HOL without oracles. Apart from the certification of the imported proof, th...

متن کامل

A Higher-Order Logic for Concurrent Termination-Preserving Refinement

Compiler correctness proofs for higher-order concurrent languages are difficult: they involve establishing a termination-preserving refinement between a concurrent high-level source language and an implementation that uses low-level shared memory primitives. However, existing logics for proving concurrent refinement either neglect properties such as termination, or only handle first-order state...

متن کامل

Mechanized Analysis Of a Formalization of Anselm’s Ontological Argument by Eder and Ramharter∗

Eder and Ramharter [7] propose requirements to be satisfied by formal reconstructions of informal arguments and illustrate these with their own reconstructions of Anselm’s Ontological Argument: one in classical (higher-order) logic, and one in modal logic. I reproduce and mechanically check their classical reconstruction in the PVS verification system and present this as an illustration of the ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009